Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support arbitrary args #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

janondrusek
Copy link
Contributor

Assuming the default: basedir /. From man freebsd-update:

     -b basedir     Operate on a system mounted at basedir.  (default: /, or
                    as given in the configuration file.)

On systems where /etc/freebsd-update.conf overrides the basedir, this changes the default behavior.

@janondrusek
Copy link
Contributor Author

Alternative would be to just pass "$@" like other commands do and remove the $# check.

@janondrusek janondrusek marked this pull request as draft April 26, 2023 03:39
@cedwards
Copy link
Contributor

I think the alternative solution of using "$@" may be cleaner.

* `sysctl`
* `update`
* `upgrade`
@janondrusek janondrusek marked this pull request as ready for review June 7, 2023 05:10
@janondrusek janondrusek changed the title add -b support for update command add support arbitrary args Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants